package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 cover_image
 * 
 * @author ruoyi
 * @date 2024-01-29
 */
public class CoverImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String url;

    /** 封面图名称 */
    @Excel(name = "封面图名称")
    private String coverName;

    /** 图片描述 */
    @Excel(name = "图片描述")
    private String imageDesc;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setCoverName(String coverName) 
    {
        this.coverName = coverName;
    }

    public String getCoverName() 
    {
        return coverName;
    }
    public void setImageDesc(String imageDesc) 
    {
        this.imageDesc = imageDesc;
    }

    public String getImageDesc() 
    {
        return imageDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("url", getUrl())
            .append("coverName", getCoverName())
            .append("imageDesc", getImageDesc())
            .toString();
    }
}
